home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / msdos / raytrace / pov / gen / form04a / formvue2.pov < prev    next >
Text File  |  1993-11-10  |  1KB  |  88 lines

  1. // Persistence Of Vision raytracer version 1.0 sample file.
  2.  
  3. // This scene file makes a good starting point for developing tests and
  4. // new scene files.  It is also used as the benchmark for the timing tests.
  5.  
  6. #include "colors.inc"
  7. #include "textures.inc"
  8. #include "stones.inc"
  9.  
  10. camera {
  11.    location <-40.0,  20.0,  -80.0>
  12. //   direction <0.0, 0.0,  1.0>
  13.    up  <0.0,  1.0,  0.0>
  14.    right <1.33333, 0.0, 0.0>
  15.    look_at <0, 0, 0>
  16. }
  17.  
  18. // Light source
  19. object {
  20.    light_source {
  21.       <100, 200, -300>
  22.       color White
  23.    }
  24. }
  25.  
  26. // Light source
  27. object {
  28.    light_source {
  29.       <-200, 200, -100>
  30.       color White
  31.    }
  32. }
  33.  
  34. // Light source
  35. object {
  36.    light_source {
  37.       <200, 200, 100>
  38.       color White
  39.    }
  40. }
  41.  
  42.  
  43.  
  44. // Whitish background
  45. object {
  46.    sphere { <0, 0, 0> 10000 }
  47.    texture {
  48.    finish       { ambient 0.6  // Bath it in so much "light" that it doesn't have any shadows 
  49.                 diffuse 0.7
  50.                 brilliance 2
  51.             }
  52.     pigment {
  53.                 color Wheat;
  54.             }
  55.         } // end texture
  56. }
  57.  
  58. #declare TEXTURE_1 = texture { 
  59.     pigment {
  60.                 colour Orange
  61.             }
  62.     finish  {
  63.             phong_size 1
  64.             }
  65.     }
  66.  
  67. #include "temp.pov"
  68.  
  69. object {
  70.         TheFormObject
  71.         scale <100,100,100>
  72. }
  73.  
  74. // Floor plane , sort of greenish
  75. object {
  76.    plane { <0.0, -1.0, 0.0> 0.0 }
  77.    translate <0, -100, 0 >
  78.    texture {
  79.         pigment {
  80.                 colour HuntersGreen
  81.                 }
  82.         finish  {
  83.                 ambient 0.15
  84.                 diffuse 0.8
  85.                 }
  86.    }
  87. }
  88.